package source.view.viewobjects;

import java.awt.Color;
import java.awt.Graphics2D;
import java.util.Hashtable;

import source.model.ObjectID;
import source.model.type.StructureType;

public class ViewStructure extends ViewObjectWithStats {
	private StructureType sType;
	
	public ViewStructure(StructureType sType, int playerID, ObjectID oid, Hashtable<String, String> stats){
		super(oid, playerID,stats);
		this.sType = sType;
	}
	
	public void paint(Graphics2D g) {
		g.setColor(Color.GREEN);
		g.drawString(sType.toString(), 0, 0);
		g.drawString(getPlayerID(), 0, 13);
	}
}